
CFLAGS = -c -g -Wall
GL_INCLUDE    = -I/usr/include/SDL
GL_LIBRARIES =  -lglut -lm -lGL -lGLU -lSDL

CC=g++
OS = "unknown"
SRC = SOURCES
OBJ = OBJS

job: clean TP5

TP5: main.o freeflycamera.o
	$(CC)  main.o freeflycamera.o -o $@ $(GL_INCLUDE) $(GL_LIBRARIES)
main.o : main.cpp
	$(CC)  $(CFLAGS) $<

freeflycamera.o : freeflycamera.cpp
	$(CC) $(CFLAGS) $<

clean:
	rm -rf ./*.o
